﻿using BonjourQuotation.ObjectModel.ErrorData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BonjourQuotation.ObjectModel.BusinessData
{
    public class OperationMiscGridBData
    {
        public const int TakeCount = 10;
        public int MiscCount { get; set; }
        public List<OperationMiscGridRowBData> Rows { get; set; }
        public List<OperationMiscGridSaveRowBData> SaveRows { get; set; }
        public List<OperationMiscVendorInfoBData> VendorInfo { get; set; }
        public Dictionary<int, string> PayMethod { get; set; }
        public Dictionary<int, string> Employee { get; set; }
        public Dictionary<int, string> DetailCode { get; set; }
        public Dictionary<int, string> GroupCode { get; set; }
        public Dictionary<int, string> Customer { get; set; }
        public Dictionary<int, string> VendorStatus { get; set; }
        public Dictionary<int, string> VendorName { get; set; }
        public List<string> VendorCity { get; set; }
        public Dictionary<int, string> FilterGroupCode { get; set; }
        public Dictionary<int, string> FilterGroupName { get; set; }
        public Dictionary<int, string> FilterCustomerCode { get; set; }
        public Dictionary<int, string> FilterVendorStatus { get; set; }
        public Dictionary<int, string> FilterVendorName { get; set; }
        public List<string> FilterVendorCity { get; set; }
        public int? QuotaID { get; set; }
        public int GroupID { get; set; }
        public string SearchGroupCode { get; set; }
        public DateTime? SearchStartFromDate { get; set; }
        public DateTime? SearchStartToDate { get; set; }
        public string SearchCustomer { get; set; }
        public string SearchVendorName { get; set; }
        public int SearchEmployeeID { get; set; }
        public string SearchGroupName { get; set; }
        public ErrorBInfo Error { get; set; }
    }
    public class OperationMiscGridRowBData
    {
        public int GroupID { get; set; }
        public int VendorID { get; set; }
        public int? QuotaID { get; set; }
        public int? StatusID { get; set; }
        public string VendorSelStatus { get; set; }
        public int? EmployeeID { get; set; }
        public int? ServiceDetID { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime? Time { get; set; }
        public decimal? UnitPrice { get; set; }
        public decimal? UnitPricePG { get; set; }
        public string MiscGroupContractPath { get; set; }
        public string VendorName { get; set; }
        public string VendorAddress { get; set; }
        public string VendorPhone { get; set; }
        public string VendorEmail { get; set; }
        public string VendorContactName { get; set; }
        public string VendorCity { get; set; }
        public string GroupName { get; set; }
        public string GroupCode { get; set; }
        public string Customer { get; set; }
        public int CustomerID { get; set; }
        public short? NumOfPerson { get; set; }
        public short? EstNumOfPerson { get; set; }
        public bool? Plane { get; set; }
        public bool? IsComp { get; set; }
        public decimal? FirstPayAmt { get; set; }
        public string FirstPayMethod { get; set; }
        public DateTime? FirstPayDate { get; set; }
        public decimal? SecondPayAmt { get; set; }
        public string SecondPayMethod { get; set; }
        public DateTime? SecondPayDate { get; set; }
        public decimal? ThirdPayAmt { get; set; }
        public string ThirdPayMethod { get; set; }
        public DateTime? ThirdPayDate { get; set; }
        public string Notes { get; set; }
        public string QuotaVendorName { get; set; }
        public string QuotaCurrency { get; set; }
        public decimal? QuotaRate { get; set; }
        public decimal? QuotaGrpRate { get; set; }
    }
    public class OperationMiscVendorInfoBData
    {
        public int VendorID { get; set; }
        public string VendorName { get; set; }
        public string VendorCity { get; set; }
        public string VendorAddress { get; set; }
        public string VendorPhone { get; set; }
        public string VendorType { get; set; }
        public string VendorEmail { get; set; }
        public string VendorContactPerson { get; set; }
        public bool? IsFind { get; set; }
    }
    public class OperationMiscGridSaveRowBData
    {
        public int GroupID { get; set; }
        public int VendorID { get; set; }
        public int? NewVendorID { get; set; }
        public int? EmployeeID { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? NewStartDate { get; set; }
        public DateTime? Time { get; set; }
        public short? Pax { get; set; }
        public int? ServiceID { get; set; }
        public decimal? UnitPrice { get; set; }
        public decimal? UnitPricePG { get; set; }
        public decimal? QuotaRate { get; set; }
        public bool Plane { get; set; }
        public bool IsComp { get; set; }
        public string QuotaCurr { get; set; }
        public string Notes { get; set; }
        public int SelectedVendorStatus { get; set; }
        public decimal? FirstPayAmt { get; set; }
        public string FirstPayMethod { get; set; }
        public DateTime? FirstPayDate { get; set; }
        public decimal? SecondPayAmt { get; set; }
        public string SecondPayMethod { get; set; }
        public DateTime? SecondPayDate { get; set; }
        public decimal? ThirdPayAmt { get; set; }
        public string ThirdPayMethod { get; set; }
        public DateTime? ThirdPayDate { get; set; }
    }
    
}
